package com.example.back.dto.req;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "角色管理请求体")
public class RoleReq implements Serializable {

    @ApiModelProperty(value = "角色管理ID")
    @JSONField(name = "ID")
    private Long ID;
    @ApiModelProperty(value = "角色管理名称")
    @JSONField(name = "Name")
    private String Name;
    @ApiModelProperty(value = "分页页码，默认1页")
    @JSONField(name = "page")
    private Integer page;
    @ApiModelProperty(value = "分页条数，默认10条")
    @JSONField(name = "limit")
    private Integer limit;
}
